
/**构建日期查询条件
 * @param {Object} queryParams    vue.data中的属性
 * @param {Object} createTimeValue
 */
export function buildDateSearchParams(queryParams,createTimeValue){

  delete queryParams.beginTime
  delete queryParams.endTime

  if(createTimeValue && createTimeValue.length===2){
    queryParams.beginTime = createTimeValue[0]
    queryParams.endTime = createTimeValue[1]
  }
}
